package org.sction.bean.ini;

/**
 * @author 作者 : Administrator
 * @version 创建时间：2013年8月21日 上午8:09:54
 * 
 *          类说明
 */
public class INIObject {
	private String annotation = "";
	private String key = "";
	private String value = "";
	private String main = "";

	public INIObject(String main, String key, String value) {
		this.setMain(main);
		this.setKey(key);
		this.setValue(value);
	}

	public String getAnnotation() {
		return annotation;
	}

	public void setAnnotation(String annotation) {
		this.annotation = (annotation == null ? "" : annotation);
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = (key == null ? "" : key);
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = (value == null ? "" : value);
	}

	public String getMain() {
		return main;
	}

	public void setMain(String main) {
		this.main = (main == null ? "" : main);
	}

	public String toString() {
		return this.annotation + "\n" + this.main + "\n" + this.key + " = "
				+ this.value;
	}
}
